package com.lm56.web.waybill.domain;

import com.lm56.common.MyTextValuePair;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * Created by Kelvin Yeung on 2016/11/20.
 */
public class WaybillTraceDTO {

    private long waybillId;
    private String status;
    private List<WaybillTraceDTO2>  traces;
    private String waybillNo;
    private String phoneNo;
    private String comName;
    private String comId;
    private Date sendDate;
    private String startAddr;
    private String endAddr;


    public long getWaybillId() {
        return waybillId;
    }

    public void setWaybillId(long waybillId) {
        this.waybillId = waybillId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public List<WaybillTraceDTO2> getTraces() {
        return traces;
    }

    public void setTraces(List<WaybillTraceDTO2> traces) {
        this.traces = traces;
    }

    public String getWaybillNo() {
        return waybillNo;
    }

    public void setWaybillNo(String waybillNo) {
        this.waybillNo = waybillNo;
    }

    public String getPhoneNo() {
        return phoneNo;
    }

    public void setPhoneNo(String phoneNo) {
        this.phoneNo = phoneNo;
    }

    public String getComName() {
        return comName;
    }

    public void setComName(String comName) {
        this.comName = comName;
    }

    public String getComId() {
        return comId;
    }

    public void setComId(String comId) {
        this.comId = comId;
    }

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    public Date getSendDate() {
        return sendDate;
    }

    public void setSendDate(Date sendDate) {
        this.sendDate = sendDate;
    }

    public String getStartAddr() {
        return startAddr;
    }

    public void setStartAddr(String startAddr) {
        this.startAddr = startAddr;
    }

    public String getEndAddr() {
        return endAddr;
    }

    public void setEndAddr(String endAddr) {
        this.endAddr = endAddr;
    }
}
